
 

<template>
  <div>
    <h1>我是子组件</h1>
    <slot :list="list"></slot>
  </div>
</template>
 
<script>
export default {
  name:"HelloWorld",
  data(){
    return{
      list:["面试","上班","摸鱼","混工资","躺平","重开"]
    }
  }
}
</script>
 
<style>
 
</style>